-- GENERATED SPELL FOR [Defias Dockworker] --


function spell0_6927(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(8646,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6927', 2328, 1)
end

function Sorts_6927(pUnit, Event)
local choix_sorts_6927 = math.random(0, 0)
if choix_sorts_6927 == 0 then
pUnit:RegisterEvent('spell0_6927', 1, 1)
end
end

function mob6927_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6927', math.random(1500, 3000), 1)
end

function mob6927_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6927_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6927_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6927, 1, 'mob6927_Action')
RegisterUnitEvent(6927, 2, 'mob6927_Leave')
RegisterUnitEvent(6927, 3, 'mob6927_Kill')
RegisterUnitEvent(6927, 4, 'mob6927_Die')
